package com.fx.service;

import com.fx.entity.UserAddress;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author yfl
 * @email 617823298@qq.com
 * @date 2018-06-19 16:13:33
 */
public interface UserAddressService {
	
	UserAddress getById(String flName);
	
	List<UserAddress> getList(Map<String, Object> map);
	
	int getCount(Map<String, Object> map);
	
	int save(UserAddress userAddress);
	
	int updateById(UserAddress userAddress);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

    List<UserAddress> getListByUserId(String userId);

	int changeDefaultAddress(String addressId);

	UserAddress saveOrEdit(UserAddress userAddress);
}
